package com.sx.micowell.framework.entity

import java.io.Serializable

/**
 * @Author: YY
 * @Time: 2021/9/10
 * @Describe TODO
 */
data class AccountBean (
    val phone: String,
    val pwd: String,
    val token:String

): Serializable {
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as AccountBean

        if (phone != other.phone) return false

        return true
    }

    override fun hashCode(): Int {
        return phone.hashCode()
    }
}